function addcomment(id) {
	var commentDetail = $("#a_c_text_"+id).val();
	if (commentDetail.length > 0) {
		$("#a_c_btn_"+id).attr("class","btn btn-info btn-mini disabled");
	} else {
		alert("请输入评论内容！");
		return false;
	}
	$.ajax({
		type : "post",
		url : BASE_URL+'/addcomment.action',
		dataType : "json",
		data : {
			"comment.commentDetail":commentDetail,
			"comment.commentScore":0,
			"comment.parentId":id
		},
		success : function(content) {
			$("#a_c_text_"+id).val("");
			$("#a_c_btn_"+id).attr("class","btn btn-info btn-mini");
			var list = content;
			if('true'==list[0].result) {
				var li = "<li><img src=\"common/img/face2.jpg\" /><strong>"+list[0].userNick+"</strong><em>"+list[0].commentDetail+"</em></li>";
				$("#c_ul_"+id).html(li + $("#c_ul_"+id).html());
				//alert("评论成功！");
			} 
			else if ('nologin'==list[0].result) {
			alert("请先登陆！");
			} 
				else {
				alert("评论失败！");
			}
		}
	});
}